package com.starinside.wp.foundation.constant;

import lombok.Setter;

/**
 * @Describle This Class Is
 * @Author ZengMin
 * @Date 2018/11/12 10:29
 * @Company Matt
 */
public class FeedConstant {

    public static final int ADD_PRAISE = 1;//点赞
    public static final int DEL_PRAISE = 2;//取消赞

    public static final int HEALTH_CHECK = 1; //晨检签到
    public static final int NURSERY = 2; //托班观测记录,  事实上麦忒当成了园区动态在用
    public static final int NURSERY_MONTH_EVALUATE = 3; //托班月评
    public static final int PLAN_COURSE = 4; //排课
    public static final int STA_EVALUATE_END = 5; //SAT课堂评测
    public static final int STA_EVALUATE_MONTH = 6; //SAT月评
    public static final int BIRTHDAY_MEETING = 7; //园区生日会
    public static final int EVALUATE_RECORD = 8; //评测报告
    public static final int OBSERVATION_NEW = 9; //课堂观测点报告
    public static final int FAMILY_FEED = 29; //家长发的feed

    public static final String FAMILY_FEED_TYPE = "029"; //家长发的feed


    public static final String CHECK_IN = "1"; //签到
    public static final String CHECK_OUT = "2"; //签退
    public static final String LEAVE = "3"; //请假

    public enum FEEDS_TYPE_URL {
        NURSERY_MONTH_EVALUATE("8", "/api/phone/user/children/getEvaluateRecord"),
        PLAN_COURSE("4", "/api/phone/user/children/getCoursePlan");

        @Setter
        private String type;
        @Setter
        private String url;

        FEEDS_TYPE_URL(String type, String url) {
            this.type = type;
            this.url = url;
        }

        public String getUrl() {
            return this.url;
        }

        public String getType(){
            return this.type;
        }
    }


}
